//
//  MainMenuViewController.h
//  FreeSWITCH_Console
//
//  Created by Christopher Danielson on 4/6/09.
//  Copyright 2009 MaxPowerSoft, LLC. All rights reserved.
//

#define kFileName	@"fsus.sql"
#define PERSISTENT_DATA	@"UserSettings"

#import <UIKit/UIKit.h>
#import "ParentViewController.h"
#import "UserSetting.h"
#import <sqlite3.h>

@interface MainMenuViewController : ParentViewController <UITableViewDelegate, UITableViewDataSource> {
	NSMutableArray *list;
	sqlite3	*database;
	IBOutlet UITableView *tblView;
}

@property (nonatomic, retain) NSMutableArray *list;
@property (nonatomic, retain) UITableView *tblView;

- (void) addObjectToPersistentData:(UserSetting *)usrSet;
- (void) loadPersistentList;
- (IBAction) toggleEdit:(id)sender;
- (IBAction) toggleDeleteSelector;
- (void) createWriteableDB;
@end
